<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: cv::gapi::ie Namespace Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="navpath" id="nav-path">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../d4/d1c/namespacecv_1_1gapi.html">gapi</a></li><li class="navelem"><a class="el" href="../../d1/dae/namespacecv_1_1gapi_1_1ie.html">ie</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> |
<a href="#nested-classes">Classes</a> |
<a href="#typedef-members">Typedefs</a> |
<a href="#enum-members">Enumerations</a> |
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">cv::gapi::ie Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:d5/dfc/namespacecv_1_1gapi_1_1ie_1_1detail"><td align="right" class="memItemLeft" valign="top">  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/dfc/namespacecv_1_1gapi_1_1ie_1_1detail.html">detail</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dda/classcv_1_1gapi_1_1ie_1_1Params.html">Params</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d02/classcv_1_1gapi_1_1ie_1_1Params_3_01cv_1_1gapi_1_1Generic_01_4.html">Params&lt; cv::gapi::Generic &gt;</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d98/structcv_1_1gapi_1_1ie_1_1PortCfg.html">PortCfg</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d5f/classcv_1_1gapi_1_1ie_1_1PyParams.html">PyParams</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a8cfbcd3dee47ed8a7a94fe6a9453356d"><td align="right" class="memItemLeft" valign="top">using </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dae/namespacecv_1_1gapi_1_1ie.html#a8cfbcd3dee47ed8a7a94fe6a9453356d">IEConfig</a> = std::map&lt; std::string, std::string &gt;</td></tr>
<tr class="separator:a8cfbcd3dee47ed8a7a94fe6a9453356d"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:af63f38e596d0a0c4a2196532cfba3c1b"><td align="right" class="memItemLeft" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dae/namespacecv_1_1gapi_1_1ie.html#af63f38e596d0a0c4a2196532cfba3c1b">TraitAs</a> : int { <br/>
  <a class="el" href="../../d1/dae/namespacecv_1_1gapi_1_1ie.html#af63f38e596d0a0c4a2196532cfba3c1bace2f94540fa9914e8fe6f0de9817717b">TraitAs::TENSOR</a>, 
<br/>
  <a class="el" href="../../d1/dae/namespacecv_1_1gapi_1_1ie.html#af63f38e596d0a0c4a2196532cfba3c1ba23a12f67f614b5518c7f1c2465bf95e3">TraitAs::IMAGE</a>
<br/>
 }</td></tr>
<tr class="separator:af63f38e596d0a0c4a2196532cfba3c1b"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a5f9e491fbf88b8b8ae40904e86cd82b2"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../db/d3a/classcv_1_1gapi_1_1GBackend.html">cv::gapi::GBackend</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dae/namespacecv_1_1gapi_1_1ie.html#a5f9e491fbf88b8b8ae40904e86cd82b2">backend</a> ()</td></tr>
<tr class="separator:a5f9e491fbf88b8b8ae40904e86cd82b2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3ab1729bcaf2d08e30dd2bc645410908"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../d4/d5f/classcv_1_1gapi_1_1ie_1_1PyParams.html">PyParams</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dae/namespacecv_1_1gapi_1_1ie.html#a3ab1729bcaf2d08e30dd2bc645410908">params</a> (const std::string &amp;tag, const std::string &amp;model, const std::string &amp;weights, const std::string &amp;device)</td></tr>
<tr class="separator:a3ab1729bcaf2d08e30dd2bc645410908"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a63261ea0a85b34126a0c98891700c86c"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../d4/d5f/classcv_1_1gapi_1_1ie_1_1PyParams.html">PyParams</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d1/dae/namespacecv_1_1gapi_1_1ie.html#a63261ea0a85b34126a0c98891700c86c">params</a> (const std::string &amp;tag, const std::string &amp;model, const std::string &amp;device)</td></tr>
<tr class="separator:a63261ea0a85b34126a0c98891700c86c"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="a8cfbcd3dee47ed8a7a94fe6a9453356d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8cfbcd3dee47ed8a7a94fe6a9453356d">◆ </a></span>IEConfig</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="../../d1/dae/namespacecv_1_1gapi_1_1ie.html#a8cfbcd3dee47ed8a7a94fe6a9453356d">cv::gapi::ie::IEConfig</a> = typedef std::map&lt;std::string, std::string&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="af63f38e596d0a0c4a2196532cfba3c1b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af63f38e596d0a0c4a2196532cfba3c1b">◆ </a></span>TraitAs</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="../../d1/dae/namespacecv_1_1gapi_1_1ie.html#af63f38e596d0a0c4a2196532cfba3c1b">cv::gapi::ie::TraitAs</a> : int</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Specify how G-API and IE should trait input data</p>
<p>In OpenCV, the same <a class="el" href="../../d3/d63/classcv_1_1Mat.html" title="n-dimensional dense array class ">cv::Mat</a> is used to represent both image and tensor data. Sometimes those are hardly distinguishable, so this extra parameter is used to give G-API a hint.</p>
<p>This hint controls how G-API reinterprets the data when converting it to IE Blob format (and which layout/etc is assigned to this data). </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="af63f38e596d0a0c4a2196532cfba3c1bace2f94540fa9914e8fe6f0de9817717b"></a>TENSOR </td><td class="fielddoc"><p>G-API traits an associated <a class="el" href="../../d3/d63/classcv_1_1Mat.html" title="n-dimensional dense array class ">cv::Mat</a> as a raw tensor and passes dimensions as-is. </p>
</td></tr>
<tr><td class="fieldname"><a id="af63f38e596d0a0c4a2196532cfba3c1ba23a12f67f614b5518c7f1c2465bf95e3"></a>IMAGE </td><td class="fielddoc"><p>G-API traits an associated <a class="el" href="../../d3/d63/classcv_1_1Mat.html" title="n-dimensional dense array class ">cv::Mat</a> as an image so creates an "image" blob (NCHW/NHWC, etc) </p>
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="a5f9e491fbf88b8b8ae40904e86cd82b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f9e491fbf88b8b8ae40904e86cd82b2">◆ </a></span>backend()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../db/d3a/classcv_1_1gapi_1_1GBackend.html">cv::gapi::GBackend</a> cv::gapi::ie::backend </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
</div>
</div>
<a id="a3ab1729bcaf2d08e30dd2bc645410908"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ab1729bcaf2d08e30dd2bc645410908">◆ </a></span>params() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d4/d5f/classcv_1_1gapi_1_1ie_1_1PyParams.html">PyParams</a> cv::gapi::ie::params </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp; </td>
          <td class="paramname"><em>tag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp; </td>
          <td class="paramname"><em>model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp; </td>
          <td class="paramname"><em>weights</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp; </td>
          <td class="paramname"><em>device</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.gapi.ie.params(</td><td class="paramname">tag, model, weights, device</td><td>)</td></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.gapi.ie.params(</td><td class="paramname">tag, model, device</td><td>)</td></tr></table>
</div><div class="memdoc">
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="../../d3/db0/samples_2cpp_2pca_8cpp-example.html#a14">samples/cpp/pca.cpp</a>, <a class="el" href="../../de/d45/samples_2cpp_2tutorial_code_2features2D_2Homography_2decompose_homography_8cpp-example.html#a23">samples/cpp/tutorial_code/features2D/Homography/decompose_homography.cpp</a>, <a class="el" href="../../d9/d47/samples_2cpp_2tutorial_code_2features2D_2Homography_2homography_from_camera_displacement_8cpp-example.html#a28">samples/cpp/tutorial_code/features2D/Homography/homography_from_camera_displacement.cpp</a>, and <a class="el" href="../../d0/d92/samples_2cpp_2tutorial_code_2features2D_2Homography_2pose_from_homography_8cpp-example.html#a28">samples/cpp/tutorial_code/features2D/Homography/pose_from_homography.cpp</a>.</dd>
</dl>
</div>
</div>
<a id="a63261ea0a85b34126a0c98891700c86c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63261ea0a85b34126a0c98891700c86c">◆ </a></span>params() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d4/d5f/classcv_1_1gapi_1_1ie_1_1PyParams.html">PyParams</a> cv::gapi::ie::params </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp; </td>
          <td class="paramname"><em>tag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp; </td>
          <td class="paramname"><em>model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::string &amp; </td>
          <td class="paramname"><em>device</em> </td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.gapi.ie.params(</td><td class="paramname">tag, model, weights, device</td><td>)</td></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.gapi.ie.params(</td><td class="paramname">tag, model, device</td><td>)</td></tr></table>
</div><div class="memdoc">
</div>
</div>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:47 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
